package virtualstock.request;
import javax.ejb.Remote;

import virtualstock.exception.GameNotFoundException;
import virtualstock.exception.InvalidParameterException;
import virtualstock.exception.PlayerNotFoundException;
import virtualstock.exception.PortfolioNotFoundException;
import virtualstock.util.PortfolioDetails;

@Remote
public interface PortfolioController {
	
	public Long createPortfolio(PortfolioDetails details) throws InvalidParameterException, GameNotFoundException, PlayerNotFoundException;
	
	public PortfolioDetails getPortfolioDetails(Long portfolioID) throws InvalidParameterException, PortfolioNotFoundException;
	
	public void removePortfolio(Long portfolioID) throws InvalidParameterException, PortfolioNotFoundException;

}
